#ifndef __IGAME_LOGIC_H__
#define __IGAME_LOGIC_H__

#include "../include/SignalSlot.h"
namespace fishingjoy
{
	namespace logic
	{
		class IGameLogic
		{
		public:
			base::Signal<void(void)> Event_EnterGameSuccessed;
			base::Signal<void(void)> Event_MarkChange;
			base::Signal<void(float,float,int)> Event_FishDie;
		public:
			virtual void enterGame()=0;
			virtual void exitGame()=0;
			virtual void onShoot(float x,float y,float dir) = 0;
			virtual void setLevel(int lv) = 0;
			virtual int getMark() = 0;

			virtual void openSound(bool b) = 0;
			virtual void playMusic(const char* file,bool bLoop = true)=0;
			virtual int playEffect(const char* file,bool bLoop = false) = 0;
			virtual void stopEffect(int h = -1) = 0;
		};
	}
}

#endif